# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=kfc
pkgver=0.1.4
pkgrel=0
pkgdesc="Terminal-emulator color palette setter written in POSIX C99"
url="https://github.com/mcpcpc/kfc"
arch="all"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/mcpcpc/kfc/archive/$pkgver.tar.gz
	$pkgname-no-x11.patch::https://github.com/mcpcpc/kfc/commit/5c8017255c976ca47bd027dda76df3e07010f667.diff
	"
options="!check" # No tests

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
c9f282732149c88c186154ba8f2b3e30d1c3adaf7f15ddc78b97488598d4dd8863dedec595e1799d0ff8c612e206a3e432fa32dda4228f388494fcc1202d22fd  kfc-0.1.4.tar.gz
080c27b7a64470a480290484c38feba91b9a1add1f559b43df0a2795ac486b5a3f1e55de3c218f85b545d61d93d0f81008207ce881413778a27052770b8a654e  kfc-no-x11.patch
"
